home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 46 / Amiga Format CD46 (1999-10-20)(Future Publishing)(GB)[!][issue 1999-12].iso / -in_the_mag- / reader_requests / scilab / man / man-part1 / cat2 / xfarc.2 < prev    next >
Text File  |  1999-09-16  |  900b  |  67 lines

  1.  
  2.  
  3.  
  4. xfarc(2)                       Scilab Function                       xfarc(2)
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11. NAME
  12.   xfarc - fill a part of an ellipsis
  13.  
  14. CALLING SEQUENCE
  15.   []=xfarc(x,y,w,h,a1,a2)
  16.  
  17. PARAMETERS
  18.  
  19.   x,y,w,h        : real scalars (rectangle def)
  20.  
  21.   a1,a2          : real scalars (angle def)
  22.  
  23. DESCRIPTION
  24.   Fills a portion of an ellipsis contained in the rectangle (x,y,w,h) (
  25.   upper-left point, width, height), and in the sector delimited by the angle
  26.   alpha1 and the angle alpha1+alpha2. alpha1 and alpha2 are given respec-
  27.   tively by a1/64 degrees and a2/64 degrees.  This function uses the current
  28.   graphic state which can be set by calling a high level drawing function
  29.   such as plot2d.
  30.  
  31. EXAMPLE
  32.   // isoview scaling
  33.   plot2d(0,0,-1,"031"," ",[-2,-2,2,2])
  34.   xfarc(-0.5,0.5,1,1,0,90*64)
  35.   xset("pattern",2)
  36.   xfarc(0.5,0.5,1,1,0,360*64)
  37.  
  38. SEE ALSO
  39.   xarcs,xarc.
  40.  
  41. AUTHOR
  42.   J.Ph.C..
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.